namespace SampleApp.Tests.Pages {
    using Microsoft.Services.TestTools.UITesting.Html;

    [EntryUri("/Categories/Create")]
    public class CategoriesCreate : Page {

        public Categories CreateNewCategory(string categoryName) {
            
            Browser.SetEditText("Name",categoryName);
            Browser.ClickOnButton("Create");

            return NavigatedTo<Categories>();
        }
    }
}